<#include "/common/taglibs.ftl" />
<@menu code='${entityName!}'/>
<title><@spring.message code="group"/><@spring.message code="auth"/> - <@spring.message code="list" /></title>
<div class="m-portlet m-portlet--mobile">
    <div class="m-portlet__head">
        <div class="m-portlet__head-caption">
            <div class="m-portlet__head-title">
                <h3 class="m-portlet__head-text">
                    <i class="la la-user"></i> <@spring.message code="group"/><@spring.message code="auth"/>
                </h3>
            </div>
        </div>
    </div>
    <div class="m-portlet__body">
        <div class="table-container">
            <@showMessage />
            <@tableHeaderButtons resourceIdentity='${resourceIdentity!}' />
            <@tableColumnButtons resourceIdentity='${resourceIdentity!}' />
            <table class="table table-striped- table-bordered table-hover table-checkable dataTable dtr-inline" id="datatable"
                   data-datatable="true"
                   data-datatable-advance-search="false"
                   data-datatable-quick-search-filter="search_LIKE_name_OR_description"
            >
                <thead>
                <tr role="row" class="heading">
                    <th width="1%" data-checkable="true" data-orderable="false"></th>
                    <th width="5%" data-data="id" data-searchable="false"> ID# </th>
                    <th width="15%" data-data="groupId" data-render="renderGroup"> <@spring.message code="group"/> </th>
                    <th width="15%" data-data="roleIds" data-render="renderRole" data-searchable="false"> <@spring.message code="role"/> </th>
                    <th width="15%" data-data="permissionIds" data-render="renderPermission" data-searchable="false"> <@spring.message code="permission"/> </th>
                    <th width="15%" class="center" data-data="lastModifiedDate" data-search-type="daterange" data-render="renderDateTime"> <@spring.message code="lastModifyDate"/> </th>
                    <th width="15%" data-actions="true"> <@spring.message code="action"/> </th>
                </tr>
                </thead>
                <tbody> </tbody>
            </table>
        </div>
    </div>
</div>

<page-plugin-style>
</page-plugin-style>
<page-style>
</page-style>
<page-plugin-script>
</page-plugin-script>
<page-script>
    <#include "/system/script.ftl" />
</page-script>